package com.leyou.trade.repository;

import com.leyou.trade.entity.carts;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface CartRepository extends MongoRepository<carts,String> {
    List<carts> findByUserId(Long userId);
}
